package cn.jiyun.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author usian
 * @since 2022-10-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shop")
@ApiModel(description="")
public class Shop implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 门店数量
     */
    @ApiModelProperty(value = "门店数量")
    @TableField("num")
    private Integer num;

    /**
     * 异常门店数量
     */
    @ApiModelProperty(value = "异常门店数量")
    @TableField("exception_shop")
    private Integer exceptionShop;

    /**
     * 今日成单量
     */
    @ApiModelProperty(value = "今日成单量")
    @TableField("deal")
    private Integer deal;

    /**
     * 今日佣金业绩
     */
    @ApiModelProperty(value = "今日佣金业绩")
    @TableField("kpi")
    private Integer kpi;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    @TableField("user_id")
    private Integer userId;


}
